Skip to content

Add AGENTS.md for coding agents#19

Open
sejas wants to merge 4 commits intomainfrom
add/agents-md
Open

Add AGENTS.md for coding agents#19
sejas wants to merge 4 commits intomainfrom
add/agents-md

Conversation

@sejas
Copy link
Member

@sejas sejas commented Feb 19, 2026

Summary

  • Add AGENTS.md documenting project architecture, conventions, common pitfalls, and validation commands for AI coding agents
  • Add CLAUDE.md that references AGENTS.md for Claude Code compatibility
  • Add .claude/ to .gitignore to exclude local Claude Code config

Test plan

  • Verify AGENTS.md content accurately reflects the codebase (commands, parameters, architecture)
  • Confirm CLAUDE.md correctly references AGENTS.md
  • Confirm .gitignore excludes .claude/ directory

AGENTS.md Outdated
@@ -0,0 +1,124 @@
# wp-cli-sqlite-command

WP-CLI package for importing and exporting SQLite databases.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could mention where it is used:

Suggested change
WP-CLI package for importing and exporting SQLite databases.
WP-CLI package for importing and exporting SQLite databases.
It's used by WordPress Studio to power the Import, Export and sync features.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added it here: e895ea3

@sejas
Copy link
Member Author

sejas commented Feb 24, 2026

CI is failing, not related to this PR. I'm fixing it in #22

@sejas sejas marked this pull request as ready for review February 24, 2026 11:17
@sejas sejas requested review from a team and wojtekn February 24, 2026 11:18
Copy link

@ivan-ottinger ivan-ottinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good to me. 🙂👍🏼 I left just two small comments below.

Claude is aware of the file:

CleanShot 2026-02-25 at 11 58 21@2x

src/ # Core classes: SQLite_Command, Import, Export, Tables
features/ # Behat BDD test scenarios (.feature files)
features/bootstrap/ # Behat step definitions (SQLiteFeatureContext)
manual_wp_test/ # Manual testing utilities

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I might be missing something, but do we have this one? 🤔


**Parameters:**

- `[--format=<format>]` Output format: `list` (default, one table per line), `csv`, or `json`.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not directly to this PR, but maybe we could consider adding it in (as it is quite small):

index 4e7e60e..a39125a 100644
--- a/src/SQLite_Command.php
     +++ b/src/SQLite_Command.php
     @@ -134,6 +134,7 @@ class SQLite_Command extends WP_CLI_Command {
    * options:
    *   - list
    *   - csv
+   *   - json
    * ---
    *
    * [--enable-ast-driver]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants